package jtk.project4.fleet.event;

import java.util.List;


import jtk.project4.fleet.domain.Odometer;
import jtk.project4.fleet.event.ReplacementsEvent.ReplacementsEventType;

import nl.coderight.jazz.Event;

public class ReplacementsEvent extends Event<ReplacementsEventType>{
	//private List<String> Replace;
	//private List<String> equipments;
	
	private List<Odometer> odometers;
	
	public enum ReplacementsEventType{
		LOAD_SUCCESS,
		FILTER, ADD, EDIT, DELETE, SUBMIT, CANCEL, SELECT, CHANGE, CLOSE, VIEW;
	}

	public ReplacementsEvent(ReplacementsEventType type) {
		super(type);
	}
	
//	public List<Odometer> getReplacements(){
//		return  odometers;
//	}
	
	public void setOdometers(List<Odometer> odometers){
		this.odometers = odometers;
	}

	public List<Odometer> getOdometers() {
		// TODO Auto-generated method stub
		return odometers;
	}
}
